package top.yzhao.trackdatasystem.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import top.yzhao.trackdatasystem.model.Sensor;

import java.util.List;

/**
 * User: zhaoyang
 * Date: 2020/3/13
 * Time: 17:29
 * Description: No Description
 */
@Repository
@Mapper
public interface SensorDao {

    @Select("select * from Sensor")
    public List<Sensor> getSensorList();
}
